package com.lwq.im.chartdemo.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * 客户端请求体
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RequestBody implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 操作类型
     * @see com.lwq.im.chartdemo.constants.Constants.OpType
     */
    private String opType;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 设备号
     */
    private String deviceId;

    /**
     * 消息时间
     */
    private Long timestamp;

}
